package com.qiangqiang.resoldhouse.redis;

/**
 * @author : sky
 * @date : 2018/7/12
 * @description :
 */
public class TaskPrefix extends BasePrefix {

    //超时时间设为一天
    private static final int TOKEN_EXPIRE = 3600 * 24;

    private TaskPrefix(String prefix, int expireSecond) {
        super(prefix, expireSecond);
    }

    public static TaskPrefix taskIdPrefix = new TaskPrefix("taskId", TOKEN_EXPIRE);

}
